package oop_06.homework04;

public class TestWarrior {
    public static void main(String[] args) {
        Fightable fightable = new Warrior(0,100);
        fightable = new BloodWarrior(0,100);
        fightable.injure(120);
        ((Warrior) fightable).show();
    }
}
